package com.fowo.api.model.requisition;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import javax.validation.constraints.*;
import lombok.Data;

/**
 * 调拨单子表 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Data
public class RequisitionProductImportPo {

  /** 所属调拨单 */
  @ExcelProperty("所属调拨单")
  @DecimalString(message = "所属调拨单小数格式不正确", label = "所属调拨单")
  private String parentRequisitionFreightFee;

  /** 品名 */
  @ExcelProperty("品名")
  @Size(max = 500, message = "品名长度不能超过500")
  private String productIdName;

  /** SKU */
  @ExcelProperty("SKU")
  @Size(max = 50, message = "SKU长度不能超过50")
  private String sku;

  /** 产品标签 */
  @ExcelProperty("产品标签")
  @Size(max = 50, message = "产品标签长度不能超过50")
  private String productLable;

  /** FNSKU */
  @ExcelProperty("FNSKU")
  @Size(max = 50, message = "FNSKU长度不能超过50")
  private String fnsku;

  /** 店铺 */
  @ExcelProperty("店铺")
  @Size(max = 50, message = "店铺长度不能超过50")
  private String shopNameShopName;

  /** 可用量 */
  @ExcelProperty("可用量")
  @LongString(message = "可用量数值格式不正确", label = "可用量")
  private String availbleNum;

  /** 次品量 */
  @ExcelProperty("次品量")
  @LongString(message = "次品量数值格式不正确", label = "次品量")
  private String defectiveQuantity;

  /** 可用调拨量 */
  @ExcelProperty("可用调拨量")
  @LongString(message = "可用调拨量数值格式不正确", label = "可用调拨量")
  private String availbleRqtNum;

  /** 次品调拨量 */
  @ExcelProperty("次品调拨量")
  @LongString(message = "次品调拨量数值格式不正确", label = "次品调拨量")
  private String defectiveRqtQuantity;

  /** 入库可用仓位 */
  @ExcelProperty("入库可用仓位")
  @Size(max = 50, message = "入库可用仓位长度不能超过50")
  private String toGoodWarehouseBinWarehouseId;

  /** 入库次品仓位 */
  @ExcelProperty("入库次品仓位")
  @Size(max = 50, message = "入库次品仓位长度不能超过50")
  private String toBadWarehouseBinWarehouseId;

  /** 单品重量(g) */
  @ExcelProperty("单品重量(g)")
  @DecimalString(message = "单品重量(g)小数格式不正确", label = "单品重量(g)")
  private String productGross;

  /** 包装规格(cm)-长 */
  @ExcelProperty("包装规格(cm)-长")
  @DecimalString(
    message = "包装规格(cm)-长小数格式不正确",
    label = "包装规格(cm)-长"
  )
  private String packageLength;

  /** 包装规格(cm)-宽 */
  @ExcelProperty("包装规格(cm)-宽")
  @DecimalString(
    message = "包装规格(cm)-宽小数格式不正确",
    label = "包装规格(cm)-宽"
  )
  private String packageWidth;

  /** 包装规格(cm)-高 */
  @ExcelProperty("包装规格(cm)-高")
  @DecimalString(
    message = "包装规格(cm)-高小数格式不正确",
    label = "包装规格(cm)-高"
  )
  private String packageHeight;

  /** 备注 */
  @ExcelProperty("备注")
  private String remark;
}
